package si.yun.entity;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;
import javax.persistence.Id;
import javax.persistence.GeneratedValue;
import java.io.Serializable;
import java.util.Date;
import java.math.BigDecimal;
/** 
 * @Author Cxc 
 * @Author QQ:1304793236 
 * @Date 2021-07-30 08:44:54 
 */
@Entity
@Table ( name ="sy_course" )
public class SyCourse  implements Serializable {

	private static final long serialVersionUID =  8811386706044849105L;

	/**
	 * 课程主键
	 */
   	@Column(name = "course_id" )
	private Integer courseId;

	/**
	 * 后台用户id(主讲教师)
	 */
   	@Column(name = "user_id" )
	private Integer userId;

	/**
	 * 课程专业id
	 */
   	@Column(name = "class_id" )
	private Integer classId;

	/**
	 * 推荐（2，新品，3推荐，4其他）
	 */
   	@Column(name = "recommend" )
	private Integer recommend;

	/**
	 * 课程名称
	 */
   	@Column(name = "course_name" )
	private String courseName;

	/**
	 * 课程简介
	 */
   	@Column(name = "course_intro" )
	private String courseIntro;

	/**
	 * 课程原价
	 */
   	@Column(name = "course_price" )
	private BigDecimal coursePrice;

	/**
	 * 课程现价
	 */
   	@Column(name = "course_nprice" )
	private BigDecimal courseNprice;

	/**
	 * 上架状态(2上架，3未上架）
	 */
   	@Column(name = "course_status" )
	private Integer courseStatus;

	/**
	 * 审核状态(3未审核，4审核中，5审核失败，6其他）
	 */
   	@Column(name = "course_cstatus" )
	private Integer courseCstatus;

	/**
	 * 课程搜索关键字
	 */
   	@Column(name = "course_primary" )
	private String coursePrimary;

	/**
	 * 图片封面url地址
	 */
   	@Column(name = "url" )
	private String url;

	/**
	 * 课程url地址
	 */
   	@Column(name = "course_url" )
	private String courseUrl;

	/**
	 * 课程地址
	 */
   	@Column(name = "course_info" )
	private String courseInfo;

	/**
	 * 课程序号(1,2,3集）
	 */
   	@Column(name = "course_no" )
	private Integer courseNo;

	/**
	 * 视频时长(分钟)
	 */
   	@Column(name = "course_time" )
	private Integer courseTime;

	/**
	 * 点赞数量
	 */
   	@Column(name = "like_num" )
	private Integer likeNum;

	/**
	 * 分享数量
	 */
   	@Column(name = "share_num" )
	private Integer shareNum;

	/**
	 * 收藏数量
	 */
   	@Column(name = "collect_num" )
	private Integer collectNum;

	/**
	 * 预览数量
	 */
   	@Column(name = "look_num" )
	private Integer lookNum;

	/**
	 * 销售数量
	 */
   	@Column(name = "sale_num" )
	private Integer saleNum;

	/**
	 * 序号
	 */
	@Id
   	@Column(name = "id" )
	private Integer id;

	/**
	 * 创建人
	 */
   	@Column(name = "create_id" )
	private Integer createId;

	/**
	 * 创建时间
	 */
   	@Column(name = "create_date" )
	private String createDate;

	/**
	 * 更新人
	 */
   	@Column(name = "update_id" )
	private Integer updateId;

	/**
	 * 更新时间
	 */
   	@Column(name = "update_date" )
	private String updateDate;

    public static long getSerialVersionUID() {
        return serialVersionUID;
    }

    public Integer getCourseId() {
        return courseId;
    }

    public void setCourseId(Integer courseId) {
        this.courseId = courseId;
    }

    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    public Integer getClassId() {
        return classId;
    }

    public void setClassId(Integer classId) {
        this.classId = classId;
    }

    public Integer getRecommend() {
        return recommend;
    }

    public void setRecommend(Integer recommend) {
        this.recommend = recommend;
    }

    public String getCourseName() {
        return courseName;
    }

    public void setCourseName(String courseName) {
        this.courseName = courseName;
    }

    public String getCourseIntro() {
        return courseIntro;
    }

    public void setCourseIntro(String courseIntro) {
        this.courseIntro = courseIntro;
    }

    public BigDecimal getCoursePrice() {
        return coursePrice;
    }

    public void setCoursePrice(BigDecimal coursePrice) {
        this.coursePrice = coursePrice;
    }

    public BigDecimal getCourseNprice() {
        return courseNprice;
    }

    public void setCourseNprice(BigDecimal courseNprice) {
        this.courseNprice = courseNprice;
    }

    public Integer getCourseStatus() {
        return courseStatus;
    }

    public void setCourseStatus(Integer courseStatus) {
        this.courseStatus = courseStatus;
    }

    public Integer getCourseCstatus() {
        return courseCstatus;
    }

    public void setCourseCstatus(Integer courseCstatus) {
        this.courseCstatus = courseCstatus;
    }

    public String getCoursePrimary() {
        return coursePrimary;
    }

    public void setCoursePrimary(String coursePrimary) {
        this.coursePrimary = coursePrimary;
    }

    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url;
    }

    public String getCourseUrl() {
        return courseUrl;
    }

    public void setCourseUrl(String courseUrl) {
        this.courseUrl = courseUrl;
    }

    public String getCourseInfo() {
        return courseInfo;
    }

    public void setCourseInfo(String courseInfo) {
        this.courseInfo = courseInfo;
    }

    public Integer getCourseNo() {
        return courseNo;
    }

    public void setCourseNo(Integer courseNo) {
        this.courseNo = courseNo;
    }

    public Integer getCourseTime() {
        return courseTime;
    }

    public void setCourseTime(Integer courseTime) {
        this.courseTime = courseTime;
    }

    public Integer getLikeNum() {
        return likeNum;
    }

    public void setLikeNum(Integer likeNum) {
        this.likeNum = likeNum;
    }

    public Integer getShareNum() {
        return shareNum;
    }

    public void setShareNum(Integer shareNum) {
        this.shareNum = shareNum;
    }

    public Integer getCollectNum() {
        return collectNum;
    }

    public void setCollectNum(Integer collectNum) {
        this.collectNum = collectNum;
    }

    public Integer getLookNum() {
        return lookNum;
    }

    public void setLookNum(Integer lookNum) {
        this.lookNum = lookNum;
    }

    public Integer getSaleNum() {
        return saleNum;
    }

    public void setSaleNum(Integer saleNum) {
        this.saleNum = saleNum;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getCreateId() {
        return createId;
    }

    public void setCreateId(Integer createId) {
        this.createId = createId;
    }

    public String getCreateDate() {
        return createDate;
    }

    public void setCreateDate(String createDate) {
        this.createDate = createDate;
    }

    public Integer getUpdateId() {
        return updateId;
    }

    public void setUpdateId(Integer updateId) {
        this.updateId = updateId;
    }

    public String getUpdateDate() {
        return updateDate;
    }

    public void setUpdateDate(String updateDate) {
        this.updateDate = updateDate;
    }
}
